lib/gpg: Factor out expiration timestamp formatting
authorDan Nicholson <nicholson@endlessm.com>
Mon, 10 Jun 2019 17:01:25 +0000 (12:01 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 19 Jun 2019 17:17:11 +0000 (17:17 +0000)
commit901c2f5e5fe3ccefbdb005ee593848d2630c5d39
tree94c0d6f4d0ddb4b37d2ab03a29387e8cf134ec3f
parentbe2572bf68090a5e277338d2613d3c7d53b0c9e8
lib/gpg: Factor out expiration timestamp formatting

This will be reused to format a key expiration message.

Closes: #1872
Approved by: cgwalters
src/libostree/ostree-gpg-verify-result.c